package com.chenhy.mapper;

import com.chenhy.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import javax.jws.soap.SOAPBinding;
import java.util.List;

@Mapper
public interface UserMapper {

    List<User> queryAllUser();

    List<User> userFuzzyQuery(String condition);

    int addUser(User user);

    int deleteUser(int id);

    User queryUserById(int id);

    int updateUser(User user);

    int resetPasswordById(int id);

    User queryUserByUserName(String username);

    int revisePassword(int id, String newPassword);


}
